<div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-body">
<div class="layui-tab layui-tab-brief" lay-filter="deploy_url">
    <ul class="layui-tab-title">
        <?php foreach(c('type.api_group') as $key => $v):?>
        <li class="<?php if($type==$key):?>layui-this<?php endif;?>">
            <a href="<?=url('apiconfig/lists',['type'=>$key])?>"><?=$v?></a>
        </li>
        <?php endforeach;?>
    </ul>
    <div class="layui-tab-content" style="padding-left: unset;">
        <div class="layui-tab-item layui-show">
            <div class="layui-row">
                <div class="layui-col-xs12 layui-col-md5">
                    <form method="post" class="layui-form">
                        <?php foreach($list as $key=>$v):?>
                            <div class="layui-form-item">
                                <label class="layui-form-label"><?=$v['title']?></label>
                                    <div class="layui-input-block">
                                    <input name="<?=$v['k']?>" value="<?=$v['v']?>" class="layui-input">
                                </div>
                            </div>
                        <?php endforeach;?>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn" lay-submit lay-filter="myform">立即提交</button>
                                <button class="layui-btn layui-btn-primary retreat">取消</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
</div>
